<?php
/**
 * Created by PhpStorm.
 * User: cyy
 * Date: 2016/11/24
 * Time: 17:03
 */
namespace Home\Model;
use Think\Model;
class SignModel extends Model
{
      protected $tablePrefix = "ny_";
      protected $tableName = 'sign';
//      protected $dbName = 'newyear2017';
      protected $connection = 'newyear';
      protected $pk     = 'id';
      protected $fields = array('id', 'uid', 'create_time','isbreak','ismobile',
       '_type'=>array('uid'=>'int','create_time'=>'int','isbreak'=>'int','ismobile'=>'varchar'));
}

